package model.command;
import controller.KeyListeners.KeyListenerSet;
import model.playable.RallyPoint;
/**
 *
 * @author joseph
 */
public class BuildFort extends Build{
    public BuildFort(RallyPoint rallyPoint){
        super(rallyPoint);
    }
    @Override
    public BuildFort clone() {
        return new BuildFort(getRallyPoint());
    }
    @Override
    public void executeCommand() {
        ((Buildable)getRallyPoint()).buildFort(getNumWorkers());
    }
    @Override
    public String toString(){
        return "Build Fort";
    }
}
